//
//  WBHomeTableViewCell.swift
//  weiboD
//
//  Created by gao2015 on 2016/12/5.
//  Copyright © 2016年 gao2015. All rights reserved.
//

import UIKit

class WBHomeTableViewCell: UITableViewCell {
    
    
    //原创视图
    
    private lazy var OriginalView : WBHomeOriginalView = WBHomeOriginalView()

    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    func setupUI() {
        
       contentView.addSubview(OriginalView)
        OriginalView.snp_makeConstraints { (make) in
            make.top.left.right.equalTo(contentView)
            //先写死
            make.height.equalTo(100)
        }
        
        
        
         
//        contentView.backgroundColor = randomColor()
    }
}
